🚀 Get Started with Rule-Based Routing
Rule-Based Routing allows you to define smart, flexible routing logic for payments by configuring rules that determine which processor(s) should handle a transaction, based on specific conditions. A routing rule consists of:- Conditions (what must be true to trigger the rule)
- Processor preferences (which processor(s) to use when the rule matches)
🧩 Components of Rule-Based Routing
✅ Conditions
Conditions are built using payment dimensions (e.g., currency, amount, payment method) and logical operators, such as:equal togreater than/less thanis/is notcontains/not contains
USD and amount > 10000, route to Processor X.”
🎯 Processor Preferences
Each rule points to a Processor Preference, which defines how the transaction should be routed if the rule is triggered. You can choose from:-
Single Processor:
Use one processor (e.g.,
Stripe) -
Split Routing:
Distribute the volume across multiple processors
Example:
Stripe (70%),PayPal (30%) -
Processor with Fallback(s):
Use a primary processor, with fallback options in case of failure
Example:
Primary: Stripe,Fallback: PayPal
🛠️ Steps to Configure Rule-Based Routing in Smart Router
Step 1: Click on Setup for Rule-Based Configuration
Step 2: Name Your Rule
Give the rule a name and an optional description for clarity.Step 3: Build Your Rule
Use the no-code UI to define conditions and associate them with the right processor(s). Example UI:Step 4: Select Default Processors
If none of the rules match, your default processor preference will be used.Step 5: Save & Activate
In the confirmation popup, choose between:- Save Only: Store the rule without making it live
- Save & Activate: Immediately apply the rule to all new payments
Step 6: Monitor & Manage Rules
View, edit, or deactivate your rules anytime from the Vaultera Switch Dashboard under Smart Router > Rule-Based Routing.🔄 How Rule-Based Routing Works
- A payment is initiated.
- Routing engine checks each rule in order.
- The first matching rule is selected.
- The defined processor (or routing strategy) is applied.
- If no rule matches, the default fallback processor is used.